package com.zuipin.service;

import java.util.List;

import com.zuipin.entity.GrowthValRecord;
import com.zuipin.util.Pagination;

/**
 * 
 * @author zhuangjiajian
 * @date 2017-7-29 15:59:01
 */
public interface IGrowthValRecordService {
	
	public GrowthValRecord findById(Long id);
	
	public List<GrowthValRecord> findList(Long memberId);
	
	public void insert(GrowthValRecord growthValRecord);
	
	public void update(GrowthValRecord growthValRecord);
	
	public void deleteById(Long id);
	
	/*	public void addGrowthValRecord(Long memberId, Long sysId, Long createId, Long updateId, Integer alterGrowthVal, GrowthValType growthValType, String remark, String describe,
				String oddNumbers) throws CustomException;*/
	
	/** 
	 *
	 * @Title: findListByPage 
	 * @author: zhuangjiajian
	 * @date: 2017-7-31 19:56:42
	 * @param GrowthValRecord
	 * @param page
	 * @return
	 * @return: List<BalanceRecord>
	 * @throws 
	 */
	public List<GrowthValRecord> findListByPage(GrowthValRecord growthValRecord, Pagination page);
	
	/**
	 * 查找会员当前成长值
	 * @param memberId
	 * @param sysId
	 * @return
	 * @author zhuangjiajian
	 * @date 2017-7-31 20:01:01
	 */
	public Integer getCurrentGrowthVal(Long memberId, Long sysId);
	
}
